##测试是否被选取
tag @s add testID

execute as @p[tag=inconfig] at @s anchored eyes positioned ^ ^ ^ run function vs:system/hub/menu/select/ray

#Tips
execute as @s[tag=success] if data entity @s item.components."minecraft:custom_data".hubMenu.tips run title @p[tag=inconfig] actionbar [{"entity":"@s","nbt": "item.components.\"minecraft:custom_data\".hubMenu.tips","interpret": true}]

tag @s remove testID
execute as @s[tag=success] run return run tag @s remove success